package com.zs.respository;

import com.zs.bean.User;
import org.springframework.data.mongodb.repository.MongoRepository;

import java.util.List;


/**
 * Created by zhangshuqing on 2017/12/2.
 */
public interface UserRepository extends MongoRepository<User, String> {

    List<User>  findByCode(String code);



}
